home *** CD-ROM | disk | FTP | other *** search
/ PC-Blue - MS DOS Public Domain Library / PC-Blue MS-DOS Public Domain Library - NYACC.iso / vol287 / palcon.arc / PALCON.DOC < prev   
Encoding:
Text File  |  1985-12-14  |  6.9 KB  |  172 lines

  1.  Part of the ENHANCER series of programs PALCON.COM  Ver. 1.0, Apr 17, 1985
  2.  
  3.      Copyright (C)    I. B. Miller     1985
  4.  
  5.     If you find this of value and use it please send a
  6.      contribution ($25.00) suggested.
  7.  
  8.           To:  Enhancers
  9.            231 Otonabee Ave.
  10.            Willowdale, Ontario, Canada
  11.            M2M-2S9
  12.  
  13.       PALCON is a program which Controls any of seventeen palettes on the
  14. enhanced color card ( Enhanced Graphics Adapter), to my knowledge it uses DOS
  15. functions properly.
  16.  
  17.       PALCON uses a selectable interrupt default of keyboard 09, on the AT I
  18. also like 15 Sys Req, feel free to experiment, in order to reset palette
  19. colors as desired. This defeats the revisionist tendencies of most programs
  20. which reset colors to standard and then use black and white instead of your
  21. choice of colors. The only trouble is that on anything but the AT the speed
  22. of the DOS reset of color palettes is so slow as to be noticeable. I am
  23. looking at ways to speed it up so that this program will be more easily
  24. used on a regular PC.
  25.  
  26.       The actual colors available to you depend on your actual hardware set
  27. up and so may be different. As an example if you have only a regular monitor
  28. you will have only standard colors though you will be able to swap them around.
  29. In my experience the limiting factor for text display is the monitor. Though
  30. for graphic display memory size is a very big limiting factor.
  31.  
  32.       Note that some other programs such as Sidekick also work by borrowing
  33. or stealing vectors. This program and such others are usually compatible but
  34. in case of difficulty the order in which they are called up can be important
  35. as in the case of Sidekick where this must be called first.
  36.  
  37.  
  38. Syntax is: PALCON  PHH,PHH,iHH,sHH,o,r
  39. ----------
  40.  
  41.   , indicates another palette color change is coming
  42.  
  43.   P is any hex digit (0-F) to indicate the desired palette number.
  44.  
  45.   s means the overscan or border ( letter s ) (Not useable in enhanced mode)
  46.                            (temporarily fouls up display.)
  47.  
  48.   i means that a user selected interrupt (which folows) is to be used
  49.     Note that thus is ignored after initialization as there is no
  50.     practical way to be sure no one further down the chain has stolen
  51.     my interrupt ie SIDEKICK, and consequences could be horrendous.
  52.  
  53.   o means turn off the resetting action ( letter o )
  54.  
  55.   r means reset to standard colors ( letter r )
  56.  
  57.   HH is the color to be used (MUST be 2 digits - see below for colors -
  58.  
  59.      Regular Monitor  - note that the default gives standard colors on
  60.      ----------------    the enhanced monitor - you must set the high intensity
  61.             colors for the regular monitor following rules below.
  62.  
  63.      note that if you have a regular monitor the card will give regular colors
  64.      only but while 8 to F are NORMALLY high intensity versions of 0 to 7
  65.      the EGA must have a 1 put in to get high intensity.
  66.        - A is bright green on regular card but on the EGA
  67.        bright green is 1A or 12 - similar for 0E and 1E or 16 etc.
  68.  
  69.     I suspect that it has to do with the fact that when operating with
  70.      a regular monitor the card ignores bits to define other colors and just
  71.      uses those which define the standard set of 8, then it looks to the high
  72.      digit and looks only at the 1 bit to pick high intensity.
  73.  
  74.      Enhanced Monitor
  75.      ----------------
  76.  
  77.     Bits 1 is    Medium    Blue     - 01
  78.          2 is    Medium    Green     - 02
  79.          3 is    Medium    Red     - 04
  80.          4 is Low    intensity Blue     - 08
  81.          5 is Low    intensity Green  - 10
  82.          6 is Low    intensity Red     - 20
  83.        1+4 is High    intensity Blue     - 09     Low and medium add to give
  84.        2+5 is High    intensity Green  - 12      high    - this is the basic
  85.        3+6 is High    intensity Red     - 24      principle the card works on
  86.  
  87.   There are also a high number of mixed and matched colors available
  88.   Feel free to try combinations. I just received the Enhanced Display
  89.   and am having a great time setting special colors.
  90.  
  91. This program is particularly good for use with the 3278/79 emulation to get
  92.   some decent colors on the screen, set up and use BAT files for your colors.
  93.  
  94.  
  95. Following is the standard palette color set and the numbers which describe
  96.    them
  97.  
  98.          B    B  G  C  R  M  B  W  G High intensity colors O
  99.          l    l  r  y  e  a  r  h  r --------------------- v
  100.          a    u  e  a  d  g  o  i  e    B  G  C  R  M  B  W  e
  101.          c    e  e  n     e  w  t  y    l  r  y  e  a  r  h  r
  102.          k       n        n  n  e    u  e  a  d  g  o  i  s
  103.                 t        e  e  n     e  w  t  c
  104.                 a           n        t  n  e  a
  105.                             a         n
  106.  
  107. palette No = 0    1  2  3  4  5  6  7  8    9  A  B  C  D  E  F 10
  108.                                  ^-this is the
  109.                                Seventeenth I have
  110.                              used the letter s for it
  111.                              in the program parameters.
  112.  
  113. Sample command ( Easiest to use from a batch file as remembering colors
  114. --------------                              is difficult)
  115.  
  116. PALCON    001,212,717,916,s01 (note that this choice is for a regular monitor)
  117.  
  118.   to set up the palettes to get decent colors with the 3278/79 emulate
  119.   card    -  change as desired to have different colors in place of standard.
  120.  
  121. This says change 0 or Black background to 01 or Blue background
  122.          2 or Dark Green       to 12 or Light Green
  123.          7 or White *           to 17 or High intensity White
  124.          9 or Light Blue **    to 16 or Light Yellow
  125.          s or Overcan (Border) to 01 or Blue border
  126.     * It is called White but it is really a Dull White
  127.  
  128.  
  129.  
  130. Disclaimer
  131. ----------
  132.      For obvious reasons the user is totally responsible for use of this
  133. program and determining that it is suitable for use by him, and he uses this
  134. program with no warranty from myself.
  135.  
  136.     It should work properly with the EGA from IBM or any card which later
  137. maintains compatibility with it
  138.  
  139.     This program is used by myself with LOTUS Development programs and works
  140. well solving a colors shift bug (or less than perfect EGA driver routine) but
  141. obviously LOTUS does not support it.
  142.  
  143. General
  144. --------
  145. The official standard color palettes are:
  146.  
  147.             0. Black        8. grey
  148.             1. Blue         9. Light Blue
  149.             2. Green        A. light Green
  150.             3. Cyan         B. Light Cyan
  151.             4. Red            C. light Red
  152.             5. Magenta        D. Light Magenta
  153.             6. Brown        E. Yellow
  154.             7. White        F. bright White
  155.  
  156.     You might want to try some of the following to replace any of the
  157. standard colors - example uses the 0 or normally Black Palette.
  158.         10 - a beautiful deep green    "palcon 010"
  159.         08 - a very deep blue           "palcon 008"
  160.         20 - a very deep red           "palcon 020"
  161.         34 - an orangish salmon        "palcon 034"
  162.         25 - a hot pink            "palcon 025"
  163.  
  164.     Again please note that if you have the regular monitor or the Enhanced
  165. Monitor operating in regular mode none of the above non-standard colors are
  166. available to you!
  167.  
  168.        If you have any comments or suggestions please contact
  169. me either at Home in the evenings at           (416) 226-9753
  170. or at the following BBS's   PCanada(pc-1266)   (416) 751-6337
  171.                 SGV-BBS        (416) 673-0557
  172.